import Vue from 'vue'
import App from './App.vue'

//导入实例&使用路由
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引入重置样式
import './assets/css/index.scss'

//引入淘宝适配方案
import 'lib-flexible'

import {Button, Form, Card, Field, Tab, Tabs, Sidebar, SidebarItem} from 'vant'

Vue.use(Form)
  .use(Field)
  .use(Button)
  .use(Tab)
  .use(Tabs)
  .use(Sidebar)
  .use(SidebarItem)
  .use(Card)

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
